from celery import shared_task
from django.core.mail import send_mail
from qimo.settings import EMAIL_HOST_USER
from django.http import HttpResponse
@shared_task
def send_emailc(email):
    subject="删除消息"
    message="删除的发送的消息"
    from_email='2486510385@qq.com'
    to_email='2486510385@qq.com'
    send_mail(subject, message, from_email, [to_email], fail_silently=False)
    return HttpResponse("成功了")